const express = require('express')

const app = express()

app.get('/test', (req, res) => {
  res.send('5001响应的数据')
})

app.listen(5001, (err) => {
  if (err) console.log('fail')
  else console.log('ok')
})
